class InvoiceInfo {
  late String amountUnit;
  late int amountValue;
  late String invoiceUrl;
  late String memo;
  late String status;

  InvoiceInfo(
      {required this.amountUnit,
        required this.amountValue,
        required this.invoiceUrl,
        required this.memo,
        required this.status});

  InvoiceInfo.fromJson(Map<String, dynamic> json) {
    amountUnit = json['amountUnit'];
    amountValue = json['amountValue'];
    invoiceUrl = json['invoiceUrl'];
    memo = json['memo'];
    status = json['status'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['amountUnit'] = this.amountUnit;
    data['amountValue'] = this.amountValue;
    data['invoiceUrl'] = this.invoiceUrl;
    data['memo'] = this.memo;
    data['status'] = this.status;
    return data;
  }
}
